package domain

import (
	"gitee.com/cjsn/topsdk/util"
)

type TmallSerivcecenterWorkcardInsuranceClaimWorkcardInsuranceCallbackRequest struct {
	/*
	   工单ID     */
	WorkcardId *int64 `json:"workcard_id,omitempty" `

	/*
	   拒绝理赔原因（拒绝时启用     */
	ClaimDesc *string `json:"claim_desc,omitempty" `

	/*
	   理赔单数量：理论都为1     */
	ClaimCount *int64 `json:"claim_count,omitempty" `

	/*
	   理赔单号     */
	ClaimOrderNo *string `json:"claim_order_no,omitempty" `

	/*
	   理赔状态0：未理赔 1 理赔成功 2：理赔失败     */
	ClaimStatus *int64 `json:"claim_status,omitempty" `

	/*
	   理赔时间     */
	ClaimTime *util.LocalTime `json:"claim_time,omitempty" `

	/*
	   理赔金额（分     */
	ClaimFee *int64 `json:"claim_fee,omitempty" `
}

func (s *TmallSerivcecenterWorkcardInsuranceClaimWorkcardInsuranceCallbackRequest) SetWorkcardId(v int64) *TmallSerivcecenterWorkcardInsuranceClaimWorkcardInsuranceCallbackRequest {
	s.WorkcardId = &v
	return s
}
func (s *TmallSerivcecenterWorkcardInsuranceClaimWorkcardInsuranceCallbackRequest) SetClaimDesc(v string) *TmallSerivcecenterWorkcardInsuranceClaimWorkcardInsuranceCallbackRequest {
	s.ClaimDesc = &v
	return s
}
func (s *TmallSerivcecenterWorkcardInsuranceClaimWorkcardInsuranceCallbackRequest) SetClaimCount(v int64) *TmallSerivcecenterWorkcardInsuranceClaimWorkcardInsuranceCallbackRequest {
	s.ClaimCount = &v
	return s
}
func (s *TmallSerivcecenterWorkcardInsuranceClaimWorkcardInsuranceCallbackRequest) SetClaimOrderNo(v string) *TmallSerivcecenterWorkcardInsuranceClaimWorkcardInsuranceCallbackRequest {
	s.ClaimOrderNo = &v
	return s
}
func (s *TmallSerivcecenterWorkcardInsuranceClaimWorkcardInsuranceCallbackRequest) SetClaimStatus(v int64) *TmallSerivcecenterWorkcardInsuranceClaimWorkcardInsuranceCallbackRequest {
	s.ClaimStatus = &v
	return s
}
func (s *TmallSerivcecenterWorkcardInsuranceClaimWorkcardInsuranceCallbackRequest) SetClaimTime(v util.LocalTime) *TmallSerivcecenterWorkcardInsuranceClaimWorkcardInsuranceCallbackRequest {
	s.ClaimTime = &v
	return s
}
func (s *TmallSerivcecenterWorkcardInsuranceClaimWorkcardInsuranceCallbackRequest) SetClaimFee(v int64) *TmallSerivcecenterWorkcardInsuranceClaimWorkcardInsuranceCallbackRequest {
	s.ClaimFee = &v
	return s
}
